package com.mercycrazy.springframework.context;

import com.mercycrazy.springframework.beans.BeansException;

/**
 * 实现此接口，可以感知到所属的 ApplicationContext 应用上下文信息
 *
 * @author <a href="mailto:1443424326@qq.com">mercycrazy</a>
 * @since 2022-11-27
 */
public interface ApplicationContextAware {

    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;
}
